package com.kly.user.db.dao.impl;
import com.fqgj.common.base.AbstractBaseMapper;
import com.kly.user.db.dao.IssueConfigDao;
import com.kly.user.db.entity.IssueConfigEntity;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.Map;

/**
* User: a
* Date: 2023-09-19
* Time: 16:45:28.256
*/

@Repository
public class IssueConfigDaoImpl extends AbstractBaseMapper<IssueConfigEntity> implements IssueConfigDao {

    @Override
    public IssueConfigEntity queryIssueConfig(Integer configType) {
        Map<String, Object> params = new HashMap<>();
        params.put("configType", configType);
        return this.getSqlSession().selectOne(this.getStatement("queryIssueConfig"), params);
    }
}